
import java.io.IOException;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;


public class MainMidlet extends MIDlet {
    
    private Display display;
    private StartApp startapp;
    
    public MainMidlet() throws IOException {
        
        SetDisplay.LoadDisplay(Display.getDisplay(this));
        display = Display.getDisplay(this);
        startapp = new StartApp();
        
        
    }
    
   
    
    

    public void startApp() {
        display.setCurrent(startapp);
        try {
            Thread.sleep(1234);
        } catch (InterruptedException ex) {
            ex.printStackTrace();
        }
        SetDisplay.setCurrent(SetDisplay.CHATROOM);
    }
    
    public void pauseApp() {
        
        
    }
    
    public void destroyApp(boolean unconditional) {
        destroyApp(true);
        notifyDestroyed();
       
       

    }
    
  
   
    
    

   

    
}
